package com.linkivr.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

@Entity
public class T_curr_data {
	private int id;				//编号
	private int app_id;			//现场程序编号
	private	int com_id;			//串口号
	private	int com_addr;		//串口地址
	private	double chn0;		//通道0
	private	double chn1;		//通道1
	private	double chn2;		//通道2
	private	double chn3;		//通道3
	private	double chn4;		//通道4
	private	double chn5;		//通道5
	private	double chn6;		//通道6
	private	double chn7;		//通道7
	private Date createtime;	//创建时间
	
	@Id
	@GeneratedValue
	public int getId(){
		return id;
	}
	public void setId(int id){
		this.id = id;
	}
	
	public int getApp_id() {
		return app_id;
	}
	public void setApp_id(int appId) {
		app_id = appId;
	}
	public int getCom_id() {
		return com_id;
	}
	public void setCom_id(int comId) {
		com_id = comId;
	}
	public int getCom_addr() {
		return com_addr;
	}
	public void setCom_addr(int comAddr) {
		com_addr = comAddr;
	}
	public double getChn0() {
		return chn0;
	}
	public void setChn0(double chn0) {
		this.chn0 = chn0;
	}
	public double getChn1() {
		return chn1;
	}
	public void setChn1(double chn1) {
		this.chn1 = chn1;
	}
	public double getChn2() {
		return chn2;
	}
	public void setChn2(double chn2) {
		this.chn2 = chn2;
	}
	public double getChn3() {
		return chn3;
	}
	public void setChn3(double chn3) {
		this.chn3 = chn3;
	}
	public double getChn4() {
		return chn4;
	}
	public void setChn4(double chn4) {
		this.chn4 = chn4;
	}
	public double getChn5() {
		return chn5;
	}
	public void setChn5(double chn5) {
		this.chn5 = chn5;
	}
	public double getChn6() {
		return chn6;
	}
	public void setChn6(double chn6) {
		this.chn6 = chn6;
	}
	public double getChn7() {
		return chn7;
	}
	public void setChn7(double chn7) {
		this.chn7 = chn7;
	}
	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
}
